package cn.haoxsf.app.system.mapper;

import cn.haoxsf.app.system.entity.Business;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商户表 Mapper 接口
 * </p>
 *
 * @author Ele  qvbanfm@qq.com
 * @since 2020-03-11
 */
public interface BusinessMapper extends BaseMapper<Business> {
    /**
     * 改变商户的开工状态
     * @param userId 用户id
     * @param workState 要修改的状态
     */
    void changeWorkState(@Param("userId") Long userId,@Param("workState") String workState);
}
